import request from '@/utils/request'

// 查询目标ST现况及变更列表
export function listStTarget(query) {
  return request({
    url: '/ASTManage/stTarget/list',
    method: 'get',
    params: query
  })
}

// 查询目标ST现况及变更详细
export function getStTarget(dataTime) {
  return request({
    url: '/ASTManage/stTarget/' + dataTime,
    method: 'get'
  })
}

// 新增目标ST现况及变更
export function addStTarget(data) {
  return request({
    url: '/ASTManage/stTarget',
    method: 'post',
    data: data
  })
}

// 修改目标ST现况及变更
export function updateStTarget(data) {
  return request({
    url: '/ASTManage/stTarget',
    method: 'put',
    data: data
  })
}

// 删除目标ST现况及变更
export function delStTarget(dataTime) {
  return request({
    url: '/ASTManage/stTarget/' + dataTime,
    method: 'delete'
  })
}
